package com.unistrong.controller;


import com.unistrong.model.entity.DxhdJq;
import com.unistrong.service.intf.DxhdJqService;
import com.unistrong.util.R;
import com.unistrong.util.UserVo;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.web.bind.annotation.RestController;


/**
 * <p>
 * 警情数据信息 前端控制器
 * </p>
 *
 * @author menu
 * @since 2021-07-19
 */
@Api(tags = {"DxhdJqController"},value = "警情数据信息",description = "警情数据信息相关接口说明")
@RestController
@RequestMapping("/dxhd-jq")
public class DxhdJqController {

    @Autowired
    private DxhdJqService dxhdJqService;


    @ApiOperation(value = "分页查询")
    @RequestMapping("selectPage")
    public R test(@PathVariable Long current, @PathVariable Long limit,DxhdJq dxhdJq){
        UserVo<DxhdJq> userVo = dxhdJqService.myquery(current,limit,dxhdJq);
        return R.ok().put("data",userVo);
    }

}

